package com.example.Vehcile;

public class Ship extends Vehicle {
    public Ship(String name, String color, int age, double price, String rudder) {
        super(name, color, age, price);
        this.rudder = rudder;
    }

    public String rudder;//船舵

    public void rowing(){
        System.out.println("船可以下水");
    }
}
